CC:gcc
log:=thirdparty/log/log.c thirdparty/log/log.h

test_log: test/test_log.c $(log)
	-$(CC)  $^  -o $@ -Ithirdparty
	-./$@
	-rm $@

common:=app/app_common.c app/app_common.h
app_common:test/app_common_test.c $(common) $(log)
	-$(CC)  $^  -o $@ -Ithirdparty -Iapp
	-./$@
	-rm $@


app_pool:=app/app_pool.c app/app_pool.h
app_pool_test:test/app_pool_test.c $(app_pool) $(log)
	-$(CC)  $^  -o $@ -Ithirdparty -Iapp
	-./$@
	-rm $@